/*
 * @Author: 米亚流年 miyaliunian@gmail.com
 * @Date: 2024-02-21 14:28:41
 * @LastEditors: 米亚流年 miyaliunian@gmail.com
 * @LastEditTime: 2024-03-31 23:48:02
 * @FilePath: /Component-Gallery/docs/demo/setup.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import ComponentDemo from './utils/ComponentDemo.vue'
import ComponentDemos from './utils/ComponentDemos'
import EditOnGithubHeader from './utils/EditOnGithubHeader.vue'
import Antd from 'ant-design-vue'
import naiveUI from 'naive-ui'
import 'ant-design-vue/dist/reset.css'
import './styles/demo.css'
import 'vfonts/Inter.css'
import 'vfonts/FiraCode.css'
import 'katex/dist/katex.css'

export function installDemoComponents(app) {
  app.use(Antd)
  app.use(naiveUI)
  app.component('ComponentDemo', ComponentDemo)
  app.component('ComponentDemos', ComponentDemos)
  app.component('EditOnGithubHeader', EditOnGithubHeader)
}
